<?php
class Payment 
{
    public static function factory ($type)
    {
        return new Payment_Weixin();
    }
}
